﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.PM
{
    /// <summary>
    /// 后裔转种记录
    /// </summary>
    public class DescendantsTransfer : Aubuit
    {
        /// <summary>
        /// 后裔转种记录Id
        /// </summary>
        [Key]
        public int DescendantsTransferId { get; set; }
        /// <summary>
        /// 转种日期
        /// </summary>
        public decimal TransferDate { get; set; }

        /// <summary>
        /// 育成羊耳号
        /// </summary>
        public int EarNumber { get; set; }

        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int TransferBarn { get; set; }

        /// <summary>
        /// 转入栏位
        /// </summary>
        public int TransferPen { get; set; }

        /// <summary>
        /// 当前栋舍
        /// </summary>
        public int CurrentBarn { get; set; }

        /// <summary>
        /// 当前栏位
        /// </summary>
        public int CurrentPen { get; set; }

        /// <summary>
        /// 羊只的性别
        /// </summary>
        public bool Gender { get; set; }

        /// <summary>
        /// 转种日龄
        /// </summary>
        public int TransferAge { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public int Notes { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; }

        /// <summary>
        /// 流水号
        /// </summary>
        public string SerialNo { get; set; }
    }
}
